package com.zhima;

import com.zhima.annotation.EnableKnife4j;
import com.zhima.annotation.EnableParseToken;
import com.zhima.annotation.EnableSecurity;
import com.zhima.feignclient.CheckCodeFeignClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableSecurity
// 没有token也可放行
@EnableParseToken
@EnableKnife4j(title = "芝麻OJ用户服务-API文档", description = "芝麻OJ用户服务")
@EnableFeignClients(clients = {CheckCodeFeignClient.class})
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
